// pages/doctorhomepage/majordoctor/majordoctor.js

Page({
  data: {
    doctorname:''
  },
  onLoad: function (e) {
    var that = this
    console.info('--------' + e.doctorname);
    this.setData({
      doctorname: e.doctorname,
    });
    console.info('--------' + e.doctorname);
    var doctorname = this.data.doctorname;
    console.log('用户doctorname值为' + doctorname);
  },
  onShareAppMessage: function () {
  }
})